var positionText = '深圳';
		//热门活动
		var hotList = [{
				img: '../img/shouye/popular%20recommendation_photo.png',
				name: '#理想生活制造机',
				num: 189
			},
			{
				img: '../img/shouye/popular%20recommendation_photo.png',
				name: '#理想生活制造机',
				num: 189
			},
			{
				img: '../img/shouye/popular%20recommendation_photo.png',
				name: '#理想生活制造机',
				num: 189
			}
		]
		//摄影灵感与故事
		var storyList=[{
			img:'../img/shouye/photography%20inspiration%20and%20story_img.png',
			title:'人像摄影的灵感',
			content:'在她摄影中的人物总是安静地表现画面，体现出神秘的感...'
		},{
			img:'../img/shouye/photography%20inspiration%20and%20story_img.png',
			title:'人像摄影的灵感',
			content:'在她摄影中的人物总是安静地表现画面，体现出神秘的感...'
		}]
		//热门图集推荐
		var hotPhoto=[{
			img:'../img/shouye/popular%20picture%20recommendation_img.png',
			title:'探索蓝色系摄影的奥妙',
			count:20,
			blueLabel:['艺术创意'],
			orangeLabel:['配色']
		},{
			img:'../img/shouye/popular%20picture%20recommendation_img.png',
			title:'探索蓝色系摄影的奥妙',
			count:20,
			blueLabel:['艺术创意'],
			orangeLabel:['配色']
		},{
			img:'../img/shouye/popular%20picture%20recommendation_img.png',
			title:'探索蓝色系摄影的奥妙',
			count:20,
			blueLabel:['艺术创意'],
			orangeLabel:['配色']
		},{
			img:'../img/shouye/popular%20picture%20recommendation_img.png',
			title:'探索蓝色系摄影的奥妙',
			count:20,
			blueLabel:['艺术创意'],
			orangeLabel:['配色']
		},]
		//定位
		$(".positionText").text(positionText)
		var all = {
			getHotActivity: getHotActivity,
			getStory:getStory,
			getPhoto:getPhoto,
			getSwiper:getSwiper
		}
		//搜索框
		$(".searchBox").on("click",function(){
			window.location.href="../search/search.html"
		})
		//分类跳转
		$(".cateBox").on("click",function(){
			window.location.href="../classification/classification.html"
		})
		//热门活动
		function getHotActivity() {
			for (var i = 0; i < hotList.length; i++) {
				$(".hotUl").append('<li><img src=' + hotList[i].img + ' class="hotImg" /><p class="activityName">' + hotList[i].name +
					'</p><p class="signCount">' + hotList[i].num + '人已报名</p></li>')
			}
		}
		//摄影灵感与故事
		function getStory(){
			for(var i=0;i<storyList.length;i++){
				$('.storyUl').append('<li><img src='+storyList[i].img+' class="storyImg" /><p class="storyTitle">'+storyList[i].title+'</p><p class="storyContent">'+storyList[i].content+'</p></li>')
			}
		}
		//热门图集推荐
		function getPhoto(){
			for(var i=0;i<hotPhoto.length;i++){
				$('.photoUl').append('<li class="photoLi"><div class="imgBox"><img src='+hotPhoto[i].img+' class="popularImg" />'+
				'<div class="countBox"><div class="countImg"><div class="count">'+hotPhoto[i].count+'</div>'+
				'</div></div></div><p class="photoTitle">'+hotPhoto[i].title+'</p></li>')
				//蓝色橙色标签
				if(hotPhoto[i].blueLabel.length || hotPhoto[i].orangeLabel.length){
					$('.photoLi:eq('+i+')').append('<ul class="labelUl"></ul>')
				}
				for(var j=0;j<hotPhoto[i].blueLabel.length;j++){
					$('.photoLi:eq('+i+') .labelUl').append('<li class="blueLi">'+hotPhoto[i].blueLabel[j]+'<li>')
				}
				for(var n=0;n<hotPhoto[i].orangeLabel.length;n++){
					$('.photoLi:eq('+i+') .labelUl').append('<li class="orangeLi">'+hotPhoto[i].orangeLabel[n]+'<li>')
				}
			}
		}
		function getSwiper(){
			$("#swiperBox").load("../swiper/swiper.html")
		}
		// 初始化
		all.getSwiper()
		all.getHotActivity()
		all.getStory()
		all.getPhoto()
